package model
{
  import flash.events.EventDispatcher;
  import flash.events.IEventDispatcher;

  public class AlbumManager extends EventDispatcher
  {
    [Bindable]
    public var nAlbumRowHeight:Number;
    
    [Bindable]
    public var nAlbumColumnWidth:Number;
    
    public function AlbumManager(target:IEventDispatcher=null)
    {
      super(target);
      
      nAlbumColumnWidth = 10;
      nAlbumRowHeight = 10;
    }
    
    public function mergeAlbumRowHeight(value:Number):void
    {
      if (nAlbumRowHeight < value)
      {
        nAlbumRowHeight = value;
        
//        trace ("ParamsManager » mergeAlbumRowHeight » value = " + value)
      }
    }
    
    public function mergeAlbumColumnWidth(value:Number):void
    {
      if (nAlbumColumnWidth < value)
      {
        nAlbumColumnWidth = value;
        
//        trace ("ParamsManager » mergeAlbumColumnWidth » value = " + value)
      }
    }
  }
}